package com.wltt.product.ahuthr.controller;

import com.wltt.product.ahuthr.model.ResultData;
import com.wltt.product.ahuthr.service.SystemPostTypeService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/api/system/postType")
public class SystemPostTypeController {

    @Resource
    private SystemPostTypeService systemPostTypeService;

    /**
     * 查询岗位类别
     *
     * @return
     */
    @PostMapping(value = {"/querySystemPostType"})
    public ResultData querySystemPostType() {
        return systemPostTypeService.querySystemPostType();
    }
}
